import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import persist from 'pinia-plugin-persistedstate'
import '@/assets/main.scss'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './styles/dark/css-vars.css'
import './styles/element/index.scss'
// element-plus 安装插件按需导入了，这里的字节arco就完整导入，防止arco安装插件冲突了
// 字节框架
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'

const app = createApp(App)

app.use(createPinia())
app.use(createPinia().use(persist))
app.use(router)

app.use(ArcoVue) // 字节ui库

app.mount('#app')
